package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (Administrators)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:12:44
 */
@ApiModel(value = "管理员管理")
public class Administrators implements Serializable {
    private static final long serialVersionUID = -82858296753745043L;
    /**
     * 管理员id(主键)
     */
    @ApiModelProperty(name = "adminId",notes = "管理员id",value = "管理员id")
    private Integer adminId;
    /**
     * 用户名
     */
    @ApiModelProperty(name = "adminUsername",notes = "用户名",required = true,value = "用户名")
    private String adminUsername;
    /**
     * 密码
     */
    @ApiModelProperty(name = "adminPassword",notes = "密码",required = true,value = "密码")
    private String adminPassword;
    /**
     * 创建时间
     */
    @ApiModelProperty(name = "adminCt",notes = "创建时间",value = "创建时间")
    private Date adminCt;
    /**
     * 最后登录时间
     */
    @ApiModelProperty(name = "adminLlt",notes = "最后登录时间",value = "最后登录时间")
    private Date adminLlt;
    /**
     * 状态(0:已删除 1:未删除)
     */
    @ApiModelProperty(name = "adminStatus",notes = "状态(0:已删除 1:未删除)",value = "状态(0:已删除 1:未删除)")
    private Integer adminStatus;

    /**
     * 权限菜单集合
     * @return
     */
    private List<PremiereMeun> premiereMeuns;

    public List<PremiereMeun> getPremiereMeuns() {
        return premiereMeuns;
    }

    public void setPremiereMeuns(List<PremiereMeun> premiereMeuns) {
        this.premiereMeuns = premiereMeuns;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminUsername() {
        return adminUsername;
    }

    public void setAdminUsername(String adminUsername) {
        this.adminUsername = adminUsername;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }

    public Date getAdminCt() {
        return adminCt;
    }

    public void setAdminCt(Date adminCt) {
        this.adminCt = adminCt;
    }

    public Date getAdminLlt() {
        return adminLlt;
    }

    public void setAdminLlt(Date adminLlt) {
        this.adminLlt = adminLlt;
    }

    public Integer getAdminStatus() {
        return adminStatus;
    }

    public void setAdminStatus(Integer adminStatus) {
        this.adminStatus = adminStatus;
    }

    @Override
    public String toString() {
        return "Administrators{" +
                "adminId=" + adminId +
                ", adminUsername='" + adminUsername + '\'' +
                ", adminPassword='" + adminPassword + '\'' +
                ", adminCt=" + adminCt +
                ", adminLlt=" + adminLlt +
                ", adminStatus=" + adminStatus +
                ", premiereMeuns=" + premiereMeuns +
                '}';
    }
}